import { axios } from '@/utils/request'

/**
 * 查询打印設置
 *
 * @author anti
 * @date 2021-04-11 09:10:50
 */
export function busPrintSettingsPage (parameter) {
  return axios({
    url: '/busPrintSettings/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 打印設置列表
 *
 * @author anti
 * @date 2021-04-11 09:10:50
 */
export function busPrintSettingsList (parameter) {
  return axios({
    url: '/busPrintSettings/list',
    method: 'get',
    params: parameter
  })
}

export function busPrintSettingsOne (parameter) {
  return axios({
    url: '/busPrintSettings/busPrintSettingsOne',
    method: 'get',
    params: parameter
  })
}
/**
 * 添加打印設置
 *
 * @author anti
 * @date 2021-04-11 09:10:50
 */
export function busPrintSettingsAdd (parameter) {
  return axios({
    url: '/busPrintSettings/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑打印設置
 *
 * @author anti
 * @date 2021-04-11 09:10:50
 */
export function busPrintSettingsEdit (parameter) {
  return axios({
    url: '/busPrintSettings/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除打印設置
 *
 * @author anti
 * @date 2021-04-11 09:10:50
 */
export function busPrintSettingsDelete (parameter) {
  return axios({
    url: '/busPrintSettings/delete',
    method: 'post',
    data: parameter
  })
}
